#!/bin/bash
echo 'begin...'
cd `dirname $0`
DOCKERFILE_DIR=`pwd`
cd ..
DEPLOY_DIR=`pwd`
cp tomcat.zip $DOCKERFILE_DIR/
cd $DOCKERFILE_DIR
echo 'build fileprovider'
docker build --no-cache -t="cn.pinming/fileprovider" .
rm -f $DOCKERFILE_DIR/tomcat.zip